<?php

namespace App\Http\Controllers\Home;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Models\Admin\About;
use App\Models\Admin\People;
class AboutusController extends Controller
{

  

    public function index(Request $request){

    	$data = About::orderBy('sort','asc')->get();
     
      
        $this->main['data'] = $data;
   
       
    	
    	return view('home.aboutus.aboutus',$this->main);

    }
    //人力资源页面
    public function people(){

    	$data = People::orderBy('sort','asc')->get();
        
      
        $this->main['data'] = $data;
    	return view('home.people.index',$this->main);
    }
    //联系我们页面
    public function contactus(){
      
      
        return view('home.contact.index',$this->main);


    }
    
}
